﻿Public Class SachDTO

    Private Idsach As Integer
    Public Property LayIdSach() As Integer
        Get
            Return Idsach
        End Get
        Set(ByVal value As Integer)
            Idsach = value
        End Set
    End Property

    Private TenSach As String

    Public Property LayTenSach() As String
        Get
            Return TenSach
        End Get
        Set(ByVal value As String)
            TenSach = value
        End Set
    End Property

    Private idTheLoai As Integer
    Public Property LayIDTheLoai() As Integer
        Get
            Return idTheLoai
        End Get
        Set(ByVal value As Integer)
            idTheLoai = value
        End Set
    End Property

    Private TacGia As String

    Public Property layTacGia() As Integer
        Get
            Return TacGia
        End Get
        Set(ByVal value As Integer)
            TacGia = value
        End Set
    End Property

    Private Gia As Integer
    Public Property LayGiaSach() As Integer
        Get
            Return Gia
        End Get
        Set(ByVal value As Integer)
            Gia = value
        End Set
    End Property

    Private NgayNhap As Date
    Public Property LayNgayNhap() As Date
        Get
            Return NgayNhap
        End Get
        Set(ByVal value As Date)
            NgayNhap = value
        End Set
    End Property

    Private SoLuong As Integer
    Public Property LaySoLuong() As Integer
        Get
            Return SoLuong

        End Get
        Set(ByVal value As Integer)
            SoLuong = value
        End Set
    End Property

End Class

